// header.js
const { ref } = Vue;
// 定义 Header
const AppHeader = {
    name: 'AppHeader',
    template: `
       <div class="header">
     <span class="header-title">图书管理系统</span>
        <span class="header-right">
          <span class="welcome-text">欢迎 ,</span>
         <span><a class="login-link" href="#">注销</a></span>
    </span>
</div>
    `,
    setup() {
        const username = ref('admin');
        return {username };
    }
};
